package com.gc.services.impl;

import com.gc.dao.custom.VehicleInfoMapper;
import com.gc.pojo.SysVehicleInfo;
import com.gc.services.VehicleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class VehicleServiceImpl implements VehicleService {

    @Autowired
    private VehicleInfoMapper vehicleInfoMapper;

    @Override
    public int addVehicleInfo(SysVehicleInfo info) {
        return vehicleInfoMapper.insert(info);
    }
}
